<td>
  <ul class="sf_admin_td_actions">
    <li class="sf_admin_action_tofit">
    <?php if($sf_user->hasCredential('Slot')): ?>
    	<?php if($ml_incidents->hasFitRecord()): ?>
    	<?php echo link_to(__('Suppr FIT', array(), 'messages'), 'incident/ListToFit?id='.$ml_incidents->getId(), array()) ?>
    	<?php else: ?>
      	<?php echo link_to(__('Ajout FIT', array(), 'messages'), 'incident/ListToFit?id='.$ml_incidents->getId(), array()) ?>
      	<?php endif; ?>
    <?php endif; ?>
    </li>
    <?php echo $helper->linkToEdit($ml_incidents, array(  'params' =>   array(  ),  'class_suffix' => 'edit',  'label' => 'Edit',)) ?>
    
    <?php if ($sf_user->hasCredential('Slot')) echo $helper->linkToDelete($ml_incidents, array(  'params' =>   array(  ),  'confirm' => 'Are you sure?',  'class_suffix' => 'delete',  'label' => 'Delete',)) ?>
  </ul>
</td>
